import Vue from 'vue'
import {
  NavBar, Form, Field, Button, Toast, Cell, Card, Tag, DropdownMenu, DropdownItem, TreeSelect,
  Tabbar, TabbarItem, Icon, swipe, swipeItem, Tabs, Tab, IndexBar, IndexAnchor, Switch, Area,
  Sticky, Picker, Popup, List, Row, Col, Divider, Grid, GridItem, Uploader, Dialog, Lazyload
} from 'vant'
Vue.use(NavBar).use(Form).use(Field).use(Card).use(Tag).use(Switch).use(TreeSelect).use(Grid).use(Lazyload)
  .use(Button).use(Tabbar).use(TabbarItem).use(DropdownMenu).use(Sticky).use(Picker).use(GridItem)
  .use(Icon).use(swipe).use(swipeItem).use(DropdownItem).use(Area).use(Popup).use(Divider).use(Uploader)
  .use(Tabs).use(Tab).use(IndexBar).use(IndexAnchor).use(Cell).use(List).use(Row).use(Col).use(Dialog)
Vue.prototype.$Dialog = Dialog
Vue.prototype.$Toast = Toast
